/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fuzzy.actions;

import java.math.BigDecimal;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;


/**
 *
 * @author kaqu
 */
public class CreditForm extends org.apache.struts.action.ActionForm {

    private String clientID;
    private int income;
    private String incomeFuzzy;
    private int outcome;
    private String outcomeFuzzy;
    private int otherCredits;
    private String otherCreditsFuzzy;
    private int neededCredit;
    private String neededCreditFuzzy;
    private int months;
    private String monthsFuzzy;

    /**
     *
     */
    public CreditForm() {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * This is the action called from the Struts framework.
     *
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();

        return errors;
    }

    /**
     * @return the clientID
     */
    public String getClientID() {
        return clientID;
    }

    /**
     * @param clientID the clientID to set
     */
    public void setClientID(String clientID) {
        this.clientID = clientID;
    }

    /**
     * @return the income
     */
    public int getIncome() {
        return income;
    }

    /**
     * @param income the income to set
     */
    public void setIncome(int income) {
        this.income = income;
    }

    /**
     * @return the incomeFuzzy
     */
    public String getIncomeFuzzy() {
        return incomeFuzzy;
    }

    /**
     * @param incomeFuzzy the incomeFuzzy to set
     */
    public void setIncomeFuzzy(String incomeFuzzy) {
        this.incomeFuzzy = incomeFuzzy;
    }

    /**
     * @return the outcome
     */
    public int getOutcome() {
        return outcome;
    }

    /**
     * @param outcome the outcome to set
     */
    public void setOutcome(int outcome) {
        this.outcome = outcome;
    }

    /**
     * @return the outcomeFuzzy
     */
    public String getOutcomeFuzzy() {
        return outcomeFuzzy;
    }

    /**
     * @param outcomeFuzzy the outcomeFuzzy to set
     */
    public void setOutcomeFuzzy(String outcomeFuzzy) {
        this.outcomeFuzzy = outcomeFuzzy;
    }


    /**
     * @return the credits
     */
    public int getOtherCredits() {
        return otherCredits;
    }

    /**
     * @param otherCredits the credits to set
     */
    public void setOtherCredits(int otherCredits) {
        this.otherCredits = otherCredits;
    }

    /**
     * @return the creditsFuzzy
     */
    public String getOtherCreditsFuzzy() {
        return otherCreditsFuzzy;
    }

    /**
     * @param otherCreditsFuzzy the creditsFuzzy to set
     */
    public void setOtherCreditsFuzzy(String otherCreditsFuzzy) {
        this.otherCreditsFuzzy = otherCreditsFuzzy;
    }

    /**
     * @return the neededCredit
     */
    public int getNeededCredit() {
        return neededCredit;
    }

    /**
     * @param neededCredit the neededCredit to set
     */
    public void setNeededCredit(int neededCredit) {
        this.neededCredit = neededCredit;
    }

    /**
     * @return the neededCreditFuzzy
     */
    public String getNeededCreditFuzzy() {
        return neededCreditFuzzy;
    }

    /**
     * @param neededCreditFuzzy the neededCreditFuzzy to set
     */
    public void setNeededCreditFuzzy(String neededCreditFuzzy) {
        this.neededCreditFuzzy = neededCreditFuzzy;
    }

    /**
     * @return the months
     */
    public int getMonths() {
        return months;
    }

    /**
     * @param months the months to set
     */
    public void setMonths(int months) {
        this.months = months;
    }

    /**
     * @return the monthsFuzzy
     */
    public String getMonthsFuzzy() {
        return monthsFuzzy;
    }

    /**
     * @param monthsFuzzy the monthsFuzzy to set
     */
    public void setMonthsFuzzy(String monthsFuzzy) {
        this.monthsFuzzy = monthsFuzzy;
    }
}
